@import '~antd/lib/style/themes/default.less';

@lay-btn-tx: #1FAD69;
@lay-btn-br: #007a47;
@lay-btn-bg: rgba(0, 176, 98, 0.1);

.demo-infinite-container {
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  overflow: auto;
  padding: 8px 24px;
  height: 300px;
}

.loadingContainer {
  width: 100%;
  text-align: center;
}

//图层列表样式
.layList {
  width: 261px;
  right: 40px;
  margin-top: 65px;
  position: fixed;
  overflow: hidden;
  z-index: 100;
  background: rgba(255,255,255,0.9);
  font-size: 12px;
  ul{
    height: calc(100vh - 170px);
    overflow-y: auto;
    li{
      padding: 8px 0
    }
  }
}

.layCard {
  width: 100%;
  border-bottom: 1px solid #e8e8e8;
  background: transparent;
  &_Head{
    border-bottom: 1px solid #e8e8e8;
  }
  &_Body{
    padding: 18px 0 18px 15px;
  }
}

.layBtnFocus {
  margin-right: 10px;
  color: @lay-btn-tx;
  border-color: @lay-btn-br;
  background-color: @lay-btn-bg;
}

.layBtn,.ant-btn {
  // margin-right: 10px;
  background-color: #ffffff;
  border: 0;
  font-size: 12px;
  color: #333;
  margin: 5px;
  &.shortBtn{
    width: 111px;
    &:hover, &:focus{
      width: 111px;
    }
  }
  &.longBtn{
    width: 236px;
  }
  &_selected {
    .layBtnFocus;
    &:focus, &:active {
      .layBtnFocus;
    }
  }
  &:active,&:hover,&:active,&:focus{
    background: #4BAF75;
    color: #fff;
  }
}

//矢量编辑样式
.map {
  width: 100%;
  height: 100%;
}

.tbar {
  position: fixed;
  z-index: 200;
  right: 40px;
  margin: 28px auto auto auto;
  //margin-left: 90%;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #fff;
}

.left {
  position: fixed;
  overflow: hidden;
  z-index: 100;
  background: #fff;
  border-right: 1px solid #ddd;
}

.search {
  width: 206px;
  min-width: 150px;
  margin: 10px;
  padding-left: 10px;
}
